﻿<UserControl x:Class="TrackMe.View.Frames.TaskEdit"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    mc:Ignorable="d" 
    xmlns:apps="clr-namespace:TrackMe.Apps.VM;assembly=TrackMe.Apps"
    d:DataContext="{d:DesignInstance apps:TaskEditVM}" Height="135" Width="305">
    <Grid>
        <TextBox Height="23" HorizontalAlignment="Right" Margin="0,35,12,0" Name="eName" VerticalAlignment="Top" Width="221" Text="{Binding Path=Model.Name}" />
        <Label Content="Name" Height="28" HorizontalAlignment="Left" Margin="12,33,0,0" Name="lName" VerticalAlignment="Top" Target="{Binding ElementName=eName}" />
        <Button Content="OK" Height="23" HorizontalAlignment="Left" Margin="128,77,0,0" Name="button1" VerticalAlignment="Top" Width="75" IsDefault="False" CommandParameter="0" Command="{Binding Path=SaveCmd}" />
        <Button Content="Cancel" Height="23" HorizontalAlignment="Right" Margin="0,77,12,0" Name="button2" VerticalAlignment="Top" Width="75" IsCancel="True" />
    </Grid>
</UserControl>
